﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="BaseInfo.ascx.cs" Inherits="Admin_System_Controls_NhibernateControls_BaseInfo" %>
<p>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
        SelectMethod="GetInnerDialectenum" TypeName="Ornament.Util.NHibernateHelper.DataBaseType">
    </asp:ObjectDataSource>
    <label>DataBaseType:</label>
    <asp:DropDownList ID="DatabaseTypeDropDownlist" runat="server" AutoPostBack="True"
        DataTextField="DataBaseName" DataValueField="Dialect" OnInit="DataTypeInit" OnSelectedIndexChanged="DataTypeChanged">
    </asp:DropDownList>
</p>
<p>
    <label>Dialect:</label>
    <asp:Label ID="LabelDialectName" Text="CanSelected" runat="server"></asp:Label>
</p>
<p>
    <label for="<%=DropDownListDriverClass.ClientID%>">Driver Class:</label>
    <asp:DropDownList ID="DropDownListDriverClass" runat="server">
    </asp:DropDownList>
</p>

<p>
<label for="<%=TextBoxConnectionString.ClientID%>">Connection String:</label>
    <asp:TextBox  ID="TextBoxConnectionString" runat="server" Width="500px"
        Text='<%# Bind("ConnectionString") %>'></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请填写连接字符串"
        ControlToValidate="TextBoxConnectionString" Display="None"></asp:RequiredFieldValidator>
</p>
